{% extends "base_jrcadmin2.html" %}

{% block mainheading %}{{ block.super }} \ Dashboard{% endblock %}

{% block content %}
    {% if object == None %}

        <h3>No information in Dashboard</h3>

    {% else %}

        <h3>{{ object.name|title }}</h3>
        <h5>{{ object.created_at|date:"Y-M-d H:i" }}</h5>
        <div style="padding-top: 5px; padding-bottom: 10px;">
        {{ object.text|safe }}
        </div>

    {% endif %}
    <input type="button" onclick="document.location.href='/ittctalk/'; return false;" value="ITTC talks" />
{% endblock %}

{% block js_on_load %}

    {{ block.super }}
    
    jQuery("#MenuItemDashboard").toggleClass("active");

{% endblock %}
